package com.sky.server;


import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.pojo.StatusUpdate;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishServer {

    PageResult pageEmployee(DishPageQueryDTO queryDTO);

    DishVO getById(Long id);

    void addDish(DishDTO requestDTO);

    List<DishVO> listByCategoryId(Integer categoryId);

    void update(DishDTO dishDTO);

    void status(Dish dish);

    void deleteByIds(Long[] ids);

    List<Dish> getDishListByCategoryId(Long categoryId);
}
